package com.db.sql;

import org.springframework.ui.Model;

import com.excel.read.HTMLComp;

/**
 * 查询树
 * @author mike
 *
 */
public class SqlLeafNode  extends Node{
	private SqlNode entity;
	private String nodeName;
	private String fullPath;
	private String uniqName = "";
	private String displayName;
	private String type;
	
	private String method;
	

	
	
	
	public String getDisplayName() {
		return displayName;
	}
	public void setDisplayName(String displayName) {
		this.displayName = displayName;
	}
	/**
	 * 没一个节点都有一个唯一标示的名字,
	 * 用于英文区分
	 * @return
	 */
	public SqlNode getEntity() {
		return entity;
	}
	public void setEntity(SqlNode entity) {
		this.entity = entity;
	}
	public String getNodeName() {
		return nodeName;
	}
	public void setNodeName(String nodeName) {
		this.nodeName = nodeName;
	}
	public String getFullPath() {
		return fullPath;
	}
	public void setFullPath(String fullPath) {
		this.fullPath = fullPath;
	}
	public String getUniqName() {
		return uniqName;
	}
	public void setUniqName(String uniqName) {
		this.uniqName = uniqName;
	}
	
	
	
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	

	
	/**
	 * 
	 * @return
	 * 该字段由哪张表驱动
	 * 当父字段值改变，子就需要变动=>观察者
	 */
	public String getDefaultMethod() {
		return method;
	}
	
	
	public String getMethod() {
		return method;
	}
	public void setMethod(String method) {
		this.method = method;
	}
	
	
	
	
	
}
